// 主体信息
import request from "@/api/index"

export default {


  //条件查询
  queryByHomeBaseId (params) {
    const url = "traceability/subjectInformation/queryByHomeBaseId"
    return request.get(url, params)
  },
  //条件查询
  edit (params) {
    const url = "traceability/subjectInformation/add"
    return request.post(url,
      { homeBaseId: sessionStorage.getItem('homeBaseId'), ...params })
  },
}